  <!--{loop $answerlist $nindex $answer}-->
         
            <div id="comment-{$answer['id']}" class="comment">
            <div>
              {if $question['authorid']==$answer['authorid']&&$question['hidden']==1}
            <div class="author">
            <a href="javascript:" class="avatar">
            <img src="{SITE_URL}static/css/default/avatar.gif">
            </a>
            <div class="info">
            <a href="javascript:"  class="name">
            匿名用户
            </a>
            <!---->
             <div class="meta">
                  {if $bestanswer['id']==null}
             <span>{eval echo $nindex+1;}楼-- · {$answer['time']}</span>
             {else}
       
                <span>{eval echo $nindex+2;}楼-- · {$answer['time']}</span>
             {/if}
              {if $question['shangjin']>0&&isset($answer['commission'])&&$answer['commission']!=0}<span class="label label-danger" data-toggle="tooltip"	data-placement="bottom" title=""	data-original-title="任务悬赏问题，参与回答获得佣金">获得作者{eval echo round(floatval($answer['commission']),2);}元分成</span>{/if}
             </div>
             </div>
             </div>
             {else}
                    <div class="author">
            <a href="{url user/space/$answer['authorid']}" target="_self" class="avatar">
            <img src="{$answer['author_avartar']}">
            </a>
            <div class="info">
            <a href="{url user/space/$answer['authorid']}" target="_self" class="name">
            {$answer['author']}
              {if $answer['author_has_vertify']!=false}<i class="fa fa-vimeo {if $answer['author_has_vertify'][0]=='0'}v_person {else}v_company {/if}  " data-toggle="tooltip" data-placement="right" title="" {if $answer['author_has_vertify'][0]=='0'}data-original-title="个人认证" {else}data-original-title="企业认证" {/if} ></i>{/if}
                {if $answer['signature']} <span class="signature">- $answer['signature']</span> {/if}
            </a>
            <!---->
             <div class="meta">
              {if $bestanswer['id']==null}
             <span>{eval echo $nindex+1;}楼-- · {$answer['time']}</span>
             {else}
                <span>{eval echo $nindex+2;}楼-- · {$answer['time']}</span>
             {/if}
             {if $question['shangjin']>0&&isset($answer['commission'])&&$answer['commission']!=0}<span class="label label-danger" data-toggle="tooltip"	data-placement="bottom" title=""	data-original-title="任务悬赏问题，参与回答获得佣金">获得作者{eval echo round(floatval($answer['commission']),2);}元分成</span>{/if}
             </div>
             </div>
             </div>
             {/if}
             <div class="comment-wrap art-content">
             <div class="answercontent" style="max-height:20000px">
                {if $answer['serverid']==null}
                             {if $answer['reward']==0||$answer['authorid']==$user['uid']}
                             {eval    echo replacewords($answer['content']);    }
                               {else}
                               {eval if($question['authorid']==$user['uid']) $answer['canview']=1;}
                               {if $answer['canview']==0}
                                 <div class="box_toukan ">

									<div onclick="checkpay($question['id'],$answer['id'])" data-placement="bottom" title="" data-toggle="tooltip" data-original-title="我也付费偷偷看" class="thiefbox font-12" onclick=""><i class="icon icon-lock font-12"></i> &nbsp;精彩回答&nbsp;$answer['reward']&nbsp;&nbsp;元偷偷看……{if $answer['viewnum']>0}<span class="kanguoperson">$answer['viewnum']人看过{/if}</span></div>
											

										</div>
                               {else}
                                 {eval    echo replacewords($answer['content']);    }
                               {/if}

                               {/if}



                    {else}
                    <!-- ie8浏览器用微信扫一扫，不支持html5标签 -->
                    <div class="ieview hide">

                                         此回答为语音回复，请在微信中扫一扫下面偷听回答
                 <div id="output{$answer['id']}" style="width:135px;height:135px;"></div>
				  <script>

					$(function(){

						$('#output{$answer['id']}').qrcode("{url question/voice/$qid/$answer['id']}");

					})

					</script>
					  </div>
					<div class="htmlview">
					  <div class="yuyinplay" id="{$answer['serverid']}">
                     <i class="fa fa-volume-up " ></i><span class="u-voice">
                     <span class="wtip">免费偷听</span>

                     &nbsp;{$answer['voicetime']}秒</span>
                     <audio id="voiceaudio" width="420" style="display:none">
    <source src="{SITE_URL}data/weixinrecord/{$answer['mediafile']}" type="audio/mpeg" />

</audio>
                    </div>
					</div>
                    {/if}

                 <div class="appendcontent">
                                <!--{loop $answer['appends'] $append}-->
                                <div class="appendbox">
                                    <!--{if $append['authorid']==$answer['authorid']}-->
                                    <h4 class="appendanswer font-12">答主追加回答:<span class="time">
                                    {$append['format_time']}</span></h4>
                                    <!--{else}-->
                                    <h4 class="appendask font-12">作者追问:<span class='time'>{$append['format_time']}</span></h4>
                                    <!--{/if}-->
                                       <div class="zhuiwentext ">   {eval    echo replacewords($append['content']);    }
                                       </div>
                                <div class="clr"></div>
                                </div>
                                <!--{/loop}-->
                        </div>
            </div>
       
             <div class="tool-group">
             <!-- cdn节点 回答操作 -->
													<div class="cdn_question_answer{$answer['id']}"></div>
													<script type="text/javascript">
													  getquestioncaozuo(5,{$answer['qid']},{$answer['id']});
													</script>

                </div>
                </div>
                  
                </div>


										<div class="comments-mod "
											style="display: none; float: none; padding-top: 10px;"
											id="comment_{$answer['id']}">
											<div class="areabox clearfix">

												<div class="input-group">
													<input type="text" placeholder="请输入评论内容，不少于5个字"
														AUTOCOMPLETE="off" class="comment-input form-control"
														name="content" /> <input type='hidden' value='0'
														name='replyauthor' /> <span class="input-group-btn"><input
														type="button" value="评论" class="btn btn-green"
														name="submit" onclick="addcomment({$answer['id']});" /> </span>
												</div>

											</div>
											<ul class="my-comments-list nav">
												<li class="loading text-left"><img
													src='{SITE_URL}static/css/default/loading.gif'
													 />&nbsp;加载中...</li>
											</ul>
										</div>

									</div>
									<!--{/loop}-->
									<div class="pages">{$departstr}</div>